<?php

$cs=Yii::app()->clientScript;
$cs->registerScript('business_from_script',<<<END
	
	$.ajax({'type':'POST','url':'?r=business/get_next_area','async':false,'cache':true,'data':'code=11','success':function(json){s=$.parseJSON(json);$(s).each(function(n,item){alert(n+item.name);});   }});
END
);
?>